    $(document).ready(function()
	{
	   $("#checkallduyet").click(function()
	   {
    	var checked_status = this.checked;
    	//alert(checked_status);
    	$('.duyet').each(function()
        	{
        	   this.checked = checked_status;
        	});
    	});
        $("#checkallchuaduyet").click(function()
	   {
    	var checked_status = this.checked;
    	//alert(checked_status);
    	$('.chuaduyet').each(function()
        	{
        	   this.checked = checked_status;
        	});
    	});
        //search
        $('#searchText').autoSearch('.objects');
        
	});
